FROM openjdk:8-jdk-alpine
VOLUME /tmp
ADD qiyu-framework-k8s-config.jar qiyu-framework-k8s-config.jar
#相当于在容器中用cmd命令执行jar包  指定外部配置文件
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/qiyu-framework-k8s-config.jar"]